package cn.jcet.gumall.product.service;

import cn.jcet.gumall.product.vo.AttrGroupWithAttrsVo;
import cn.jcet.gumall.product.vo.AttrRealationVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.jcet.common.utils.PageUtils;
import cn.jcet.gumall.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author coder_yang
 * @email 1546656922@qq.com
 * @date 2020-06-28 20:36:21
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据id查询分类信息
     * @param params
     * @param catelogId
     * @return
     */
    PageUtils queryPage(Map<String,Object> params, Long catelogId);

    /**
     * 根据分类查询属性
     * @param catelogId
     * @return
     */
    List<AttrGroupWithAttrsVo> attrGroupWithAttrsBycatelogId(Long catelogId);
}

